# if __name__ == '__main__':
#     i = 1
#     while i <= 150:
#         print(i, end=" ")
#         if i % 3 == 0:
#             print("foo", end=" ")
#         if i % 5 == 0:
#             print("biz", end=" ")
#         if i % 7 == 0:
#             print("baz", end=" ")
#
#         print("")
#         i = i + 1

if __name__ == '__main__':
    # 修改循环控制变量的值
    # 建议循环控制变量出现的位置：循环体开始 or 循环体结束
    i = 0
    while i <= 150:
        i = i + 1
        temp = ""
        if i % 3 == 0:
            temp += "foo "
        if i % 5 == 0:
            temp += "biz "
        if i % 7 == 0:
            temp += "baz "

        if temp == "":
            continue
        else:
            print(str(i) + " " + temp)
